﻿package com.tudou.model
{
    import com.tudou.consts.*;
    import com.tudou.cookie.*;

    public class BaseInfo extends Object implements IBaseInfo
    {
        protected var _ppid:String;
        protected var _maxRateType:int;
        protected var _isRec:String;
        protected var _fuid:String;
        protected var _href:String;
        protected var _videoTotalTime:Number;
        protected var _rinfo:String;
        protected var _original:Boolean;
        protected var _originalRate:Number;
        protected var _lastPlayIID:int;
        protected var _rid:String;
        protected var _v2pr:String;
        protected var _resourceId:String;
        protected var _currRateType:int;
        protected var _viewState:int;
        protected var _userId:String;
        protected var _originalHeight:int;
        protected var _adSourceId:String;
        protected var _isPrivate:Boolean;
        protected var _userAgent:String;
        protected var _originalWidth:int;
        protected var _pvid:String;
        protected var _aid:int;
        protected var _iid:int;
        protected var _repasterId:String;
        protected var _juid:String;
        protected var _needCount:Boolean;
        protected var _isToll:Boolean;
        protected var _tpa:String;
        protected var _playerName:String;
        protected var _cvid:String;
        protected var _refferURL:String;
        protected var _lastPlayTime:Number;
        protected var _lid:int;
        protected var _seid:String;
        protected var _isListPlayer:Boolean;
        protected var _lastCurPlayTime:Number;
        protected var _rurlId:String;
        protected var _isForceBand:Boolean;
        protected var _sourceId:String;
        protected var _channelId:int;

        public function BaseInfo()
        {
            _sourceId = "0";
            _adSourceId = "0";
            _tpa = "";
            _isListPlayer = false;
            _lid = 0;
            _aid = 0;
            _userId = "0";
            _juid = "0";
            _fuid = FlashUserID.id;
            _refferURL = "";
            _href = "";
            _channelId = 0;
            _iid = 0;
            _rid = "";
            _pvid = "0";
            _cvid = "0";
            _ppid = "";
            _needCount = false;
            _isRec = "";
            _userAgent = "";
            _original = false;
            _maxRateType = RateType.P256;
            _currRateType = RateType.P256;
            _isPrivate = false;
            _repasterId = "0";
            _lastPlayIID = 0;
            _lastPlayTime = 0;
            _viewState = ViewState.NORMAL;
            _v2pr = "";
            _isForceBand = false;
            _playerName = "";
            _seid = "";
            _rurlId = "";
            _videoTotalTime = 0;
            _lastCurPlayTime = -1;
            _rinfo = "";
            _resourceId = "";
            return;
        }// end function

        public function get lastCurPlayTime() : Number
        {
            return _lastCurPlayTime;
        }// end function

        public function get playerName() : String
        {
            return _playerName;
        }// end function

        public function get rid() : String
        {
            return _rid;
        }// end function

        public function get seid() : String
        {
            return _seid;
        }// end function

        public function get ppid() : String
        {
            return _ppid;
        }// end function

        public function get isRec() : String
        {
            return _isRec;
        }// end function

        public function get needCount() : Boolean
        {
            return _needCount;
        }// end function

        public function get userAgent() : String
        {
            return _userAgent;
        }// end function

        public function get href() : String
        {
            return _href;
        }// end function

        public function get refferURL() : String
        {
            return _refferURL;
        }// end function

        public function get fuid() : String
        {
            return _fuid;
        }// end function

        public function get rinfo() : String
        {
            return _rinfo;
        }// end function

        public function get aid() : int
        {
            return _aid;
        }// end function

        public function get iid() : int
        {
            return _iid;
        }// end function

        public function get userId() : String
        {
            return _userId;
        }// end function

        public function get originalRate() : Number
        {
            return _originalRate;
        }// end function

        public function get originalHeight() : int
        {
            return _originalHeight;
        }// end function

        public function get tpa() : String
        {
            return _tpa;
        }// end function

        public function get originalWidth() : int
        {
            return _originalWidth;
        }// end function

        public function get channelId() : int
        {
            return _channelId;
        }// end function

        public function get lid() : int
        {
            return _lid;
        }// end function

        public function get currRateType() : int
        {
            return _currRateType;
        }// end function

        public function get sourceId() : String
        {
            return _sourceId;
        }// end function

        public function get v2pr() : String
        {
            return _v2pr;
        }// end function

        public function get pvid() : String
        {
            return _pvid;
        }// end function

        public function get lastPlayIID() : int
        {
            return _lastPlayIID;
        }// end function

        public function get isToll() : Boolean
        {
            return _isToll;
        }// end function

        public function get juid() : String
        {
            return _juid;
        }// end function

        public function get rurlId() : String
        {
            return _rurlId;
        }// end function

        public function get isForceBand() : Boolean
        {
            return _isForceBand;
        }// end function

        public function get maxRateType() : int
        {
            return _maxRateType;
        }// end function

        public function get resourceId() : String
        {
            return _resourceId;
        }// end function

        public function get cvid() : String
        {
            return _cvid;
        }// end function

        public function get original() : Boolean
        {
            return _original;
        }// end function

        public function get adSourceId() : String
        {
            return _adSourceId;
        }// end function

        public function get lastPlayTime() : Number
        {
            return _lastPlayTime;
        }// end function

        public function get repasterId() : String
        {
            return _repasterId;
        }// end function

        public function get isListPlayer() : Boolean
        {
            return _isListPlayer;
        }// end function

        public function get viewState() : int
        {
            return _viewState;
        }// end function

        public function get isPrivate() : Boolean
        {
            return _isPrivate;
        }// end function

        public function get videoTotalTime() : Number
        {
            return _videoTotalTime;
        }// end function

    }
}
